package com.dcw.lixb.designmode.decorator;

/**
 * @author lixiaobin
 * @date 2020-07-22 15:50:27
 * @desc 描述信息
 */
public class DecoratorMain {
    public static void main(String[] args) {
        RedShapeDecorator redCircle = new RedShapeDecorator(new Circle());
        RedShapeDecorator redRect = new RedShapeDecorator(new Rectangle());

        redCircle.draw();
        redRect.draw();
    }
}
